package com.baitai.system.domain;

import java.math.BigDecimal;
import java.util.List;

import com.baitai.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.baitai.common.annotation.Excel;

/**
 * 任务下发对象 issue_task
 * 
 * @author xx
 * @date 2024-07-14
 */
public class IssueTask extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 任务标题 */
    @Excel(name = "任务标题")
    private String taskTitle;

    /** 任务内容 */
    @Excel(name = "任务内容")
    private String taskContent;

    /** 任务下发状态 */
    @Excel(name = "任务下发状态")
    private String taskStatus;

    /** 接取上限 */
    @Excel(name = "接取上限")
    private String maxNumber;

    /** 剩余数量 */
    @Excel(name = "剩余数量")
    private String remainingNumber;

    /** 任务类型 */
    @Excel(name = "任务类型")
    private String taskType;

    /** 任务单价 */
    @Excel(name = "任务单价")
    private BigDecimal taskUnitPrice;

    /** $table.subTable.functionName信息 */
    private List<IssueTaskFile> issueTaskFileList;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setTaskTitle(String taskTitle)
    {
        this.taskTitle = taskTitle;
    }

    public String getTaskTitle()
    {
        return taskTitle;
    }
    public void setTaskContent(String taskContent)
    {
        this.taskContent = taskContent;
    }

    public String getTaskContent()
    {
        return taskContent;
    }
    public void setTaskStatus(String taskStatus)
    {
        this.taskStatus = taskStatus;
    }

    public String getTaskStatus()
    {
        return taskStatus;
    }
    public void setMaxNumber(String maxNumber)
    {
        this.maxNumber = maxNumber;
    }

    public String getMaxNumber()
    {
        return maxNumber;
    }
    public void setTaskType(String taskType)
    {
        this.taskType = taskType;
    }

    public String getTaskType()
    {
        return taskType;
    }
    public void setTaskUnitPrice(BigDecimal taskUnitPrice)
    {
        this.taskUnitPrice = taskUnitPrice;
    }

    public BigDecimal getTaskUnitPrice()
    {
        return taskUnitPrice;
    }

    public List<IssueTaskFile> getIssueTaskFileList()
    {
        return issueTaskFileList;
    }

    public void setIssueTaskFileList(List<IssueTaskFile> issueTaskFileList)
    {
        this.issueTaskFileList = issueTaskFileList;
    }

    public String getRemainingNumber() {
        return remainingNumber;
    }

    public void setRemainingNumber(String remainingNumber) {
        this.remainingNumber = remainingNumber;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("taskTitle", getTaskTitle())
                .append("taskContent", getTaskContent())
                .append("taskStatus", getTaskStatus())
                .append("maxNumber", getMaxNumber())
                .append("taskType", getTaskType())
                .append("taskUnitPrice", getTaskUnitPrice())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .append("issueTaskFileList", getIssueTaskFileList())
                .toString();
    }
}
